var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.npc_ChangeController(3003600, "oid=275642", 350, -414, 43, 311, 400, 1, false, 0, false);
            cm.npc_ChangeController(3003608, "oid=275643", 550, -566, 0, 500, 600, 0, false, 0, false);
            cm.updateInfoQuest(35157, "save=993060001;return=450006130");
            cm.userSetFieldFloating(993060001, 0, 30, 1000);
            cm.dispose()
        }
    }
};